char* addBinary(char* a, char* b)
{
        char c[8]="00000000";
    for(int i=7;i>0;i--)
    {
       if(a[i]=='1'&&b[i]=='1')
       {
        c[i]='2';
       }
       if((a[i]=='1'&&b[i]=='0')||(a[i]=='0'&&b[i]=='1'))
       {
        c[i]='1';
       }
       if(c[i]=='2')
       {
        c[i-1]='1';
        c[i]='0';
       }
    }
    printf("%s\n",c);

}